Ext.define('CDR.view.Main' ,{
    extend: 'Ext.panel.Panel',
    alias : 'widget.main',
    tbar : [{
		text: CDR.I18N['global.title'],
		iconCls: 'win-icon'
	}
	,{xtype: 'tbfill'}
	,{
		text: 'Administrator',
		iconCls: 'icon-pbx',
		menu: {
			width: '100',
			xtype: 'menu',
			items: {
				text:'Logout',
				iconCls:'icon-logout',
				handler: function(){
					document.location.href = 'j_spring_security_logout';
				}
			}
		}
	}],
	padding:2,
	border:false,
	layout: 'border',
	items: [{
		xtype: 'tabpanel',
		region: 'center',
		items:[{
			xtype:'managerview'
		}]
	}]
});